gtk: fix brace initialization for bloom filter
authorChristian Hergert <chergert@redhat.com>
Wed, 6 Jan 2021 00:01:11 +0000 (16:01 -0800)
committerChristian Hergert <chergert@redhat.com>
Wed, 6 Jan 2021 00:21:05 +0000 (16:21 -0800)
This was breaking CI for macOS and it is a simple enough change to ensure
that just works for the internal buckets.

gtk/gtkcountingbloomfilterprivate.h

index 9151901d7524832c96b0793d0aacc13cb5552bfc..78a3f54880e4e526f9ed62493a599be719689647 100644 (file)
@@ -79,7 +79,7 @@ static inline gboolean  gtk_counting_bloom_filter_may_contain   (const GtkCounti
  *
  * The filter does not need to be freed.
  */
-#define GTK_COUNTING_BLOOM_FILTER_INIT { 0, }
+#define GTK_COUNTING_BLOOM_FILTER_INIT {{0}}
 
 /*
  * gtk_counting_bloom_filter_add: